
package me.zhengjie.service.dto;

import lombok.Data;

import java.sql.Timestamp;
import java.util.List;
import me.zhengjie.annotation.Query;

/**
* @website https://el-admin.vip
* @author IQW
* @date 2022-07-03
**/
@Data
public class AppWorkQueryCriteria{

    @Query(blurry = "title")
    private String blurry;

    @Query(type = Query.Type.EQUAL)
    private String label;

    @Query(type = Query.Type.EQUAL,propName = "cate")
    private String nickName;

    @Query(type = Query.Type.EQUAL)
    private Integer status;

    @Query(type = Query.Type.EQUAL)
    private Integer userId;

    @Query(type = Query.Type.EQUAL)
    private Integer areaId;

    //3为紧急
    @Query(type = Query.Type.EQUAL)
    private String jjcd;

    @Query(type = Query.Type.NOT_EQUAL,propName = "status")
    private Integer statusNotEquals;

    //我小于等于X
    @Query(type = Query.Type.LESS_THAN,propName = "status")
    private Integer statusLessTh;

    @Query(type = Query.Type.BETWEEN)
    private List<Timestamp> createTime;

    @Query(type = Query.Type.BETWEEN,propName = "startTime")
    private List<Timestamp> startTimes;

}